<?php
$username = "test@gmail.com";
$password = "asdf1234";

$newpassword = MD5($password);
$ver = sha1(time());

echo "Login ID:". $username . "<br/>";
echo "Password:". $password . "<br/>";

$query = "INSERT into users(Username, Password, ver_code, verified) VALUES('{$username}','{$newpassword}','{$ver}',1);";
echo "User ID Add:". $query . "<br/>";

$interval = 30 * 24 * 60;
$pop = 9999999;

$query = "UPDATE users SET pop={$pop} , expire=DATE_ADD(STR_TO_DATE(expire,'%Y-%m-%d %H:%i:%s'), INTERVAL {$interval}  MINUTE) where Username = '{$username}';";
echo "Set User Plan:" . $query . "<br/>";

$site = "http://www.takethemail001.work/bytefact/";
$client_id = "17669230670-keh7kesr6vrpljhnb5oejm5523f6ptug.apps.googleusercontent.com";
$client_secret = "gZE8Oi9dr_G22eg7kkceBzpo";

$alias_redirect = $site . "autores/addnewalias.php";
$sub_master_redirect = $site . "autores/addnewsubmaster.php";

$query = "INSERT into client_info(client_id, client_secret, alias_redirect, sub_master_redirect) VALUES('{$client_id}','{$client_secret}','{$alias_redirect}','{$sub_master_redirect}');";
echo "Google client Setup:". $query . "<br/>";

$query = "DELETE FROM users where Username = '{$username}';";
echo "delete query: " . $query . "<br/>";

?>


